import request from '@/utils/request'
import { requestPath } from '@/utils/global.js'

export function collectSingleAPI(data) { //资源的单条收藏和取消收藏
  return request({
    url: `${requestPath.resource}/member-collection/save`,
    method: 'post',
    data
  })
}